Week 7: Servlets and JSF

 

This week's online activity is about the Servlets and JSF

 

1.     From the Lynda.com course Java EE Essentials: Servlets and JavaServer Faces, watch the videos of Chapter 1 "About Java Servlets and Faces" and Chapter 2 "Working with JavaServer Faces"

Those two chapters begin at these two URLS

http://www.lynda.com/Java-tutorials/What-servlets/124399/179373-4.html

http://www.lynda.com/Java-tutorials/Setting-up-Faces-application/124399/179382-4.html

 

2.     Check your understanding of these new concepts with this Blackboard Quiz


Question 1
In a JSF application that includes a Contact entity, which of the following implements a Named or Managed Bean?
	Contact.java
	ContactController.java (correct)
	AbstractFacade.java
	ContactFacade.java
	index.xhtml

Question 2
In a JSF application, how are the Java Server Faces pages connected to the named or Managed Bean?
	Expression Language (EL) expressions (correct)
	JavaBeans expressions
	Java Server Pages code
	Through a Servlet
	None of these answers

Question 3
In a JSF application that includes a Contact entity, which file implements the interface to the database?
	index.xhtml
	ContactController.java
	Contact.java
	create.xhtml
	ContactFacade.java (correct)